<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
  <script src="./lib/vue.js"></script>
</body>
</html><!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
   <li v-for="(item,key,index) in obj" :key="item">{{item}}--{{index}}</li>
   <li v-for="(item) in users" :key="item.id">{{item.name}}</li>
  </div>

  <script src="./lib/vue.js"></script>
  <script>
    let vm = new Vue({
      el: '#app',
      data: {
        arr: [1, 2, 3, 4, 5, 6],
        obj: { id: 1, name: '张三' },
        users: [
          { id: 1, name: '张三' },
          { id: 2, name: '李四' }
        ]
      }
    })
  </script>
</body>

</html>